package com.xq.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xq.entity.BizOutStock;
import com.xq.vo.OutStockVo;

/**
 * (BizOutStock)表服务接口
 *
 * @author makejava
 * @since 2020-08-09 17:03:46
 */
public interface BizOutStockService extends IService<BizOutStock> {
    /**
     * 分页+条件
     * @param current
     * @param size
     * @param outStockVo
     * @return
     */
    Page<BizOutStock> findByPage(Integer current, Integer size, OutStockVo outStockVo);

    /**
     * 订单回收操作
     */
    Boolean updByStatus(Integer id,Integer status);

    /**
     * 删除订单
     * @param id
     * @return
     */
    Boolean removeByOutstock(Integer id);

    /**
     * 审核通过订单
     * @param id
     * @return
     */
    Boolean updByPass(Integer id,Integer status);
}